package Shop.damain;

/**
 * Created by BadHuge on 2020/9/11.
 */
public class Goods {
    int gpid;
    String gname;
    int gprice;
    String gtype;
    int ownerid;

    public Goods(int gpid, String gname, int gprice, String gtype, int ownerid) {
        this.gpid = gpid;
        this.gname = gname;
        this.gprice = gprice;
        this.gtype = gtype;
        this.ownerid = ownerid;
    }
public Goods(){

}

    public int getGpid() {
        return gpid;
    }

    public String getGname() {
        return gname;
    }

    public int getGprice() {
        return gprice;
    }

    public String getGtype() {
        return gtype;
    }

    public int getOwnerid() {
        return ownerid;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public void setGprice(int gprices) {
        this.gprice = gprices;
    }

    public void setGtype(String gtype) {
        this.gtype = gtype;
    }

    public void setOwnerid(int ownerid) {
        this.ownerid = ownerid;
    }
}
